package com.example.dllo.keepdemo.dynamic.bean;

import java.util.List;

/**
 * Created by dllo on 16/1/20.
 */
public class FindBannerBean {

    /**
     * ok : true
     * data : [{"_id":"564d75eae81248f32a80981c","title":"今日封面","ipadPhoto":"https://dn-keep.qbox.me/picture/2016/01/20/10/54973c45dbc00000.jpg","photo":"https://dn-keep.qbox.me/picture/2016/01/20/10/54973c40f6000000.jpg","url":"keep://users/567bb3bafa52dc1d63784264","author":"56178e241779a99315da9373","modified":"2016-01-20T02:52:46.949Z","stateValue":20,"sort":6,"subtitle":"封面人物","__v":0},{"_id":"569f092800275070506f649c","ipadPhoto":"https://dn-keep.qbox.me/picture/2016/01/20/12/54974e9875400000.jpg","photo":"https://dn-keep.qbox.me/picture/2016/01/20/12/54974e9d20000000.jpg","title":"16岁的她，柔韧性爆表啦！","url":"keep://articles/569dffcff74a325d7e9f9172","author":"56178e241779a99315da9373","modified":"2016-01-20T04:12:24.206Z","stateValue":20,"sort":5,"subtitle":"经验","__v":0},{"_id":"569cca31802debb3c9dd34cc","photo":"https://dn-keep.qbox.me/picture/2016/01/18/19/54951d4712c00000.jpg","ipadPhoto":"https://dn-keep.qbox.me/picture/2016/01/18/19/54951d49d3400000.jpg","title":"五种\u201c零\u201d卡食物","url":"keep://entries/569cb7e14d6117e530ad5dd3","author":"56178e241779a99315da9373","modified":"2016-01-18T11:19:13.512Z","stateValue":20,"sort":4,"subtitle":"","__v":0},{"_id":"569ccaaa802debb3c9dd34cd","photo":"https://dn-keep.qbox.me/picture/2016/01/18/19/54951dc3b4800000.jpg","ipadPhoto":"https://dn-keep.qbox.me/picture/2016/01/18/19/54951dc714400000.jpg","title":"器械百科BOSU球，关节加固助手","url":"keep://entries/569cc0b399986b6c35e77c51","author":"56178e241779a99315da9373","modified":"2016-01-18T11:21:14.884Z","stateValue":20,"sort":3,"subtitle":"","__v":0},{"_id":"5694d84595f79dce7e9f4017","ipadPhoto":"https://dn-keep.qbox.me/picture/2016/01/12/18/548d599414400000.jpg","photo":"https://dn-keep.qbox.me/picture/2016/01/12/18/548d59bdfb400000.jpg","url":"keep://workouts/567d18d3d1d20e1f26f2a2ac","title":"课程：跑步机课程","author":"56178e241779a99315da9373","modified":"2016-01-12T10:41:09.868Z","stateValue":20,"sort":2,"subtitle":"","__v":0},{"_id":"566ea812b0c71c1ca2196f1d","title":"Keep 征稿啦","photo":"https://dn-keep.qbox.me/picture/2016/01/09/10/548913a214800000.jpg","ipadPhoto":"https://dn-keep.qbox.me/picture/2016/01/09/10/548913a5b8c00000.jpg","url":"keep://entries/566ea75750ab27b50fa99348","author":"56178e241779a99315da9373","modified":"2016-01-09T02:55:53.525Z","stateValue":20,"sort":1,"subtitle":"快来投稿","__v":0}]
     * errorCode : 0
     * now : 2016-01-20T11:11:49.108Z
     * version : 1.0.0
     */

    private boolean ok;
    private int errorCode;
    private String now;
    private String version;
    /**
     * _id : 564d75eae81248f32a80981c
     * title : 今日封面
     * ipadPhoto : https://dn-keep.qbox.me/picture/2016/01/20/10/54973c45dbc00000.jpg
     * photo : https://dn-keep.qbox.me/picture/2016/01/20/10/54973c40f6000000.jpg
     * url : keep://users/567bb3bafa52dc1d63784264
     * author : 56178e241779a99315da9373
     * modified : 2016-01-20T02:52:46.949Z
     * stateValue : 20
     * sort : 6
     * subtitle : 封面人物
     * __v : 0
     */

    private List<DataEntity> data;

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public void setNow(String now) {
        this.now = now;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public boolean isOk() {
        return ok;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getNow() {
        return now;
    }

    public String getVersion() {
        return version;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String _id;
        private String title;
        private String ipadPhoto;
        private String photo;
        private String url;
        private String author;
        private String modified;
        private int stateValue;
        private int sort;
        private String subtitle;
        private int __v;

        public void set_id(String _id) {
            this._id = _id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setIpadPhoto(String ipadPhoto) {
            this.ipadPhoto = ipadPhoto;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public void setModified(String modified) {
            this.modified = modified;
        }

        public void setStateValue(int stateValue) {
            this.stateValue = stateValue;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public void set__v(int __v) {
            this.__v = __v;
        }

        public String get_id() {
            return _id;
        }

        public String getTitle() {
            return title;
        }

        public String getIpadPhoto() {
            return ipadPhoto;
        }

        public String getPhoto() {
            return photo;
        }

        public String getUrl() {
            return url;
        }

        public String getAuthor() {
            return author;
        }

        public String getModified() {
            return modified;
        }

        public int getStateValue() {
            return stateValue;
        }

        public int getSort() {
            return sort;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public int get__v() {
            return __v;
        }
    }
}
